package com.cucn.ingmall.product.dao;

import com.cucn.ingmall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author kouchaojie
 * @email kou1688@foxmail.com
 * @date 2021-11-17 16:27:03
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /**
     * 查询所有可被检索的属性id
     *
     * @param attrIdList 属性id集合
     * @return 可被检索的属性id
     */
    List<Long> selectSearchAttrIds(@Param("attrIdList") List<Long> attrIdList);
}
